package com.vjwealth.android.nos.http

/**
 * projectName KNOS
 * date 2017/9/26
 * description com.vjwealth.android.nos.http
 */
class Api private constructor(){

    companion object {


        val BASE_URL = "http://101.37.21.234:8080/nos/"  //线上地址
        //    public static final String BASE_URL = "http://180.169.3.92:10118/nos/"; //测试地址
//    public static final String BASE_URL = "http://192.168.20.82:8001/nos/";  //本地地址

        /**
         */
        val REGISTER_PROTOCOL = BASE_URL + "h5/registrationProtocol.html"
        /**
         * 豪车车系h5
         */
        val QUERY_SERIES_DETIAL = BASE_URL + "carseries/show/"
        /**
         * 功能介绍
         */
        val QUERY_FUNCTION_INTROCUCE = BASE_URL + "resource/functionIntroInit?userChannelType=Android"
        /**
         * 图片地址
         */
        val BASE_IMAGE_URL = BASE_URL + "imagefile/loadPhoto/"
        /**
         * 帮助中心
         */
        val HELP_CENTER = BASE_URL + "resource/helpCenterInit"

        //发送验证码
        val sendCode = BASE_URL + "customer/sendCode"
        //登录
        val login = BASE_URL + "customer/login"
        //登出
        val logout = BASE_URL + "customer/logout"
        //第三方登录
        val thirdLogin = BASE_URL + "customer/thirdLogin"
        //注册
        val register = BASE_URL + "customer/register"
        //监测更新
        val queryNewVersion = BASE_URL + "appversion/queryNewVersion"
        //第三方绑定
        val thirdBind = BASE_URL + "customer/thirdBind"
        // 第三方登录，查询是否已绑定手机号
        val queryRegisterStatus = BASE_URL + "customer/queryRegisterStatus"
        //绑定盒子
        val bindOBD = BASE_URL + "cuscar/bindOBD"
        //查询未绑定盒子的汽车列表
        val queryUnBoundOBDCar = BASE_URL + "cuscar/queryUnBoundOBDCar"
        //获取已绑定盒子的爱车列表
        val queryBoundOBDCar = BASE_URL + "cuscar/queryBoundOBDCar"
        //查询告警列表
        val queryCurrentAlarm = BASE_URL + "obd/queryCurrentAlarm"
        //违章查询
        val queryRecord = BASE_URL + "break_rule/queryRecord"
        //竞速模式数据查询
        val queryModelData = BASE_URL + "obd/queryModelData"
        //百公里加速时间上传
        val upload_hm = BASE_URL + "ranklist/hm/upload"
        //点赞
        val upload_vote = BASE_URL + "ranklist/hm/upvote"
        //取消赞
        val upload_cancel_vote = BASE_URL + "ranklist/hm/cancelUpvote"
        //排行榜列表
        val rank_list_query = BASE_URL + "ranklist/hm/query"
        //评论列表
        val rank_comment_list = BASE_URL + "ranklist/hm/detail"
        //添加评论
        val rank_comment_add = BASE_URL + "ranklist/hm/comment"

        //首页消息
        val message_query = BASE_URL + "maintainMessage/query"
        //获得我的爱车列表
        val car_my_list = BASE_URL + "cuscar/queryHomeCusCar"
        //查询车辆信息
        val car_my_infor_list = BASE_URL + "cuscar/query/"
        //最近一次行程
        val near_trip = BASE_URL + "obd/queryNearTrip"
        //一次行程详情
        val near_trip_detail = BASE_URL + "obd/queryTripRecordDetail"
        //行程记录
        val trip_record = BASE_URL + "obd/queryTripRecord"
        //汽车实时监测
        val real_data = BASE_URL + "obd/queryRealData"
        //保存车辆信息
        val car_add = BASE_URL + "cuscar/add"
        //修改车辆信息
        val car_modify = BASE_URL + "cuscar/modifySelective"
        //删除车辆信息
        val car_delete = BASE_URL + "cuscar/removeCusCar"
        //查询车辆品牌
        val brand_query = BASE_URL + "carbrand/queryAll/"
        //查询车辆系列
        val series_query = BASE_URL + "carseries/queryList/"
        //查询车辆类型
        val type_query = BASE_URL + "cartype/queryList/"
        //查询车辆颜色
        val color_query = BASE_URL + "carcolor/queryAll/"
        //车辆保险公司查询
        val insurance_company_query = BASE_URL + "resource/queryInsuranceCompany"
        //获取用户数据
        val customer_init = BASE_URL + "customer/loginInit"

        //查询用户所有车辆的救援信息
        val car_rescue_list = BASE_URL + "cusrescue/queryRescueInProcessList"
        //查询用户下可以发布救援的爱车列表
        val car_rescue_can_list = BASE_URL + "cuscar/queryCanRescueCarList"
        //救援上传
        val car_rescue_add = BASE_URL + "cusrescue/addSelective"
        //救援上传图片
        val car_rescue_upload_image = BASE_URL + "cusrescue/addRescueImage"

        //查询我的NOS
        val my_nos = BASE_URL + "customer/myNosInit"
        //我的NOS背景图片上传
        val my_nos_background = BASE_URL + "customer/modifyBackground"
        //修改爱车背景
        val car_background_modify = BASE_URL + "cuscar/modifyImageName"
        //修改自定义背景
        val car_background_upload = BASE_URL + "cuscar/modifyPic"
        //获取邀请好友二维码
        val invite_friend_image = BASE_URL + "customer/queryDownloadQRPic"
        //保养品牌及公里数
        val brand_maintain = BASE_URL + "brandMaintainSuggestion/list"
        //保养建议
        val brand_maintain_suggest = BASE_URL + "brandMaintainSuggestion/brand/"
        //爱车保养项目
        val brand_maintain_item = BASE_URL + "cuscarrecord/maintainItem/list"
        //消息列表
        val car_message_list = BASE_URL + "message/queryByCustomerId"
        //
        val car_message_read = BASE_URL + "message/read"

        //获取客服电话
        val help_phone = BASE_URL + "resource/queryPhone"
        //新保试算初始化
        val insurance_init = BASE_URL + "cuscar/queryList/"

        //查询个人设置信息
        val setting_init = BASE_URL + "customer/settingInit"
        //修改个人信息
        val setting_infor_modify = BASE_URL + "customer/modifySelective"
        //修改个人信息头像
        val setting_avatar_modify = BASE_URL + "customer/modifyAvatar"

        //查询所有站点
        val query_all_maintain_site = BASE_URL + "maintainsite/queryLikeSiteName"
        //爱车履历列表
        val resume_list = BASE_URL + "cuscarrecord/list/customer/"
        //爱车履历删除
        val resume_delete = BASE_URL + "cuscarrecord/remove"
        //爱车履历修改
        val resume_modify = BASE_URL + "cuscarrecord/modifySelective"
        //爱车履历添加
        val resume_add = BASE_URL + "cuscarrecord/addSelective"
        //爱车履历上传图片
        val resume_image_add = BASE_URL + "cuscarrecord/addRecordImage"
        //爱车履历详情
        val resume_detail = BASE_URL + "cuscarrecord/queryDetail/"

        //预约添加初始化
        val subscribe_add_init = BASE_URL + "cusSubscribe/addInit"
        //预约添加上传图片
        val subscribe_upload_image = BASE_URL + "imagefile/addSelective"
        //预约提交
        val subscribe_add = BASE_URL + "cusSubscribe/add"
        //预约记录列表
        val subscribe_list = BASE_URL + "cusSubscribe/queryByCus"
        //取消预约
        val subscribe_cancel = BASE_URL + "cusSubscribe/cancel"

        //查询一次行程的所有GPS信息
        val queryTripGPSRecord = BASE_URL + "obd/queryTripGPSRecord"
    }

}